#!/usr/bin/python
# -*- coding: utf-8 -*-
#Under the terms of the General Public License v.3
#For more information see LICENSE.txt

from Element import *

class Player (Element):

	"""

	:version:
	:author:
	"""
	""" ATTRIBUTES
	 Speed in X
	speedX  (private)
	 Speed in Y
	speedY  (private)
	"""

	def __init__(self, image, posX, posY):
		Element.__init__(self, image, posX, posY)
		self.map = map
		self.rect = self.image.get_rect()
		self.rect.move_ip(120, 150)
		self.pointControl_x = 78
		self.pointControl_y = 58
		
	def setSpeedX(self, speedX):
		"""
		@return  :
		@author
		"""
		self.speedX = speedX

	def setspeedY(self, speedY):
		"""
		@return  :
		@author
		"""
		self.speedY = speedY

	def getSpeedX(self):
		"""
		@return int :
		@author
		"""
		return self.speedX

	def getSpeedY(self):
		"""
		@return int :
		@author
		"""
		return self.speedY

	def updatePosition(self):
		self.updatePosition(self, self.posX + self.speedX, self.posY + self.speedY)

	def updatePosition(self, newPosX, newPosY):
		"""
		 Update the position of the element
		@return  :
		@author
		"""
		self.posX = newPosX
		self.posY = newPosY

	def checkBoundColision(self, posX, posY, ):
		"""
		 Checks colitions betwen two thinks.
		@return  :
		@author
		"""
